package com.iyundao.io.Service;

import com.github.pagehelper.PageInfo;
import com.iyundao.io.model.PartyMember;
import com.iyundao.io.model.PartymemberCondition;
import com.iyundao.io.model.SysUserProvider;
import com.iyundao.io.tools.PartyMemberShow;
import com.iyundao.io.tools.PartymemberVo;
import com.iyundao.io.tools.PersonalDetailsShow;
import com.iyundao.io.tools.ResponseData;

import java.util.List;

public interface PartymemberService {

    ResponseData batchInsert(List<PartymemberVo> list);

    ResponseData insert(PartyMemberShow partymemberVo);

    ResponseData rollOut(Integer id);

    ResponseData rollJoin(Integer id,String organzationid, String roleId);

    ResponseData selectById(Integer id);

    ResponseData updatePartymember(PartyMemberShow partyMember);

    ResponseData selectByOrganizationId(SysUserProvider sysUser);

    ResponseData selectByOrganizationIdNoManager(SysUserProvider sysUser);

    ResponseData selectByCondition(PartymemberCondition partymemberCondition);

    ResponseData selectBySid(Integer pagenum, Integer pageSize, String sid);

    ResponseData selectBySid(String sid);

    ResponseData selectNoJoin();

    ResponseData selectNoJoinByName(String name);

}
